﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace GXJD.Wx.DBContext.Migrations
{
    public partial class UpdNews2 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "content",
                table: "News",
                maxLength: 9999999,
                nullable: true,
                oldClrType: typeof(string),
                oldMaxLength: 99999,
                oldNullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "content",
                table: "News",
                maxLength: 99999,
                nullable: true,
                oldClrType: typeof(string),
                oldMaxLength: 9999999,
                oldNullable: true);
        }
    }
}
